// action 解决异步改变共享数据
import * as types from './mutation-types';

export default {
  tabHidden({ commit }) {
    commit(types.TABHIDDEN);
  },
  selectTab({ commit }, value) {
    commit(types.SELECTTAB, value);
  },
  setDataList({ commit }, value) {
    commit(types.DATALIST, value);
  },
};
